﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="view_for_rent.aspx.cs" Inherits="admin_view_for_rent" %>

<%@ Import Namespace="System" %>
<%@ Import Namespace="System.Collections" %>
<%@ Import Namespace="System.Data" %>
<%@ Import Namespace="System.IO" %>
<%@ Import Namespace="System.Data.SqlClient" %>




<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="heb"  dir="rtl">
<head id="Head1" runat="server">
    <link rel="shortcut icon" type="image/jpg" href="../images/logo/logo_feas.jpg" />

<title>Real estate</title>
  <meta name="viewport" content="width=device-width">

  	<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Karla%7CMontserrat">
	<link rel="stylesheet" href="css/screen.css">
	<link rel="stylesheet" href="css/lightbox.css">

<script src="../js/html5.js"></script>
  <link href="js/css/bootstrap/bootstrap.min.css" rel="stylesheet" type="text/css" />
    <link href="js/css/bootstrap/bootstrap-responsive.min.css" rel="stylesheet" type="text/css" />
    <link href="js/css/supr-theme/jquery.ui.supr.css" rel="stylesheet" type="text/css"/>
    <link href="js/css/icons.css" rel="stylesheet" type="text/css" />
<!--<script type="text/javascript" src="../js/sticky_footer.js"></script>-->
<link rel="stylesheet" type="text/css" href="../css/master.css"/>
<link rel="stylesheet" type="text/css" href="../css/dropBox.css"/>
<link rel="stylesheet" type="text/css" href="../css/menu.css"/>
<link rel="stylesheet" type="text/css" href="../css/tooltip.css"/>
<link rel="stylesheet" type="text/css" href="../css/buttons.css"/>
    <link href="Assets/css/tabbed.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="Assets/css/lightbox.css" media="screen"/>
<link rel="stylesheet" href="../css/validationEngine.jquery.css" type="text/css" media="screen" title="no title" charset="utf-8" />
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/themes/base/jquery-ui.css"
        rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/jquery-ui.min.js"></script>
   

<link rel="stylesheet" href="../css/validationEngine.jquery.css" type="text/css" media="screen" title="no title" charset="utf-8" />


<script type="text/javascript">

    $(document).ready(function () {
        $("#student_permanent_address1").hide();
        $("#DropDownList2").change(function () {

            var x = $(this).val();

            if (x == "Yes") {
                $("#student_permanent_address1").show();
            }
            else {
                $("#student_permanent_address1").hide();
            }

        });
    });
</script>


<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox8").hide();
        $("#DropDownList11").change(function () {

            var x = $(this).val();

            if (x == "Custom") {
                $("#TextBox8").show();
            }
            else {
                $("#TextBox8").hide();
            }

        });
    });
</script>

<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox17").hide();
        $("#DropDownList25").change(function () {

            var x = $(this).val();

            if (x == "Custom") {
                $("#TextBox17").show();
            }
            else {
                $("#TextBox17").hide();
            }

        });
    });
</script>


<script type="text/javascript">

           $(document).ready(function () {

function cal() {

        var val = "Select";

        if (document.getElementById('Label41').value = val) {
            $("#'Label41").hide();
        }
}
});
</script>




<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox10").hide();
        $("#DropDownList15").change(function () {

            var x = $(this).val();

            if (x == "Custom") {
                $("#TextBox10").show();
            }
            else {
                $("#TextBox10").hide();
            }

        });
    });
</script>

<script type="text/javascript">

    $(document).ready(function () {

        if ($("#Label38").text() == "Select")
           
         {

             $("#Label38").hide();
            
        }

    });
</script>

<script type="text/javascript">

    $(document).ready(function () {

        if ($("#Label40").text() == "Select") {

            $("#Label40").hide();

        }

    });
</script>

<script type="text/javascript">

    $(document).ready(function () {

        if ($("#Label41").text() == "Select") {

            $("#Label41").hide();

        }

    });
</script>
<script type="text/javascript">

    $(document).ready(function () {

        if ($("#Label16").text() == "0") {

            $("#Label16").hide();
        }

    });
</script>
<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox7").hide();
        $("#DropDownList12").change(function () {

            var x = $(this).val();

            if (x == "Custom") {
                $("#TextBox7").show();
            }
            else {
                $("#TextBox7").hide();
            }

        });
    });
</script>
<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox4").hide();
        $("#DropDownList7").change(function () {

            var x = $(this).val();

            if (x == "Custom") {
                $("#TextBox4").show();
            }
            else {
                $("#TextBox4").hide();
            }

        });
    });
</script>
<script type="text/javascript">

    $(document).ready(function () {
        $("#student_permanent_address2").hide();

        $("#DropDownList1").change(function () {

            var x = $(this).val();
            if (x == "Yes") {
                $("#student_permanent_address2").show();
            }
            else {
                $("#student_permanent_address2").hide();
            }

        });
    });
</script>
<script type="text/javascript">

    $(document).ready(function () {
        $("#txttoilets").hide();
        $("#DropDownList19").change(function () {

            var x = $(this).val();
            if (x == "Custom") {
                $("#txttoilets").show();
            }
            else {
                $("#txttoilets").hide();
            }

        });
    });
</script>

<script type="text/javascript">

    $(document).ready(function () {
        $("#txtfurniture").hide();
        $("#DropDownList18").change(function () {

            var x = $(this).val();
            if (x == "Custom") {
                $("#txtfurniture").show();
            }
            else {
                $("#txtfurniture").hide();
            }

        });
    }); 
</script>

 <script type="text/javascript">

     $(document).ready(function () {
         $("#txtpark").hide();
         $("#ddlparking").change(function () {

             var x = $(this).val();
             if (x == "Custom") {
                 $("#txtpark").show();
             }
             else {
                 $("#txtpark").hide();
             }

         });
     });
</script>
<style>
    
    .lb-image{height:600px;
              width:700px;
    }
h1
{
    font-size:16px;
	font-weight:bold;
}
.features-table
{
  width: 600px;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0;
  text-shadow: 0 1px 0 #fff;
  color: #2a2a2a;
  background: #fafafa;  
  background-image: -moz-linear-gradient(top, #fff, #eaeaea, #fff); /* Firefox 3.6 */
  background-image: -webkit-gradient(linear,center bottom,center top,from(#fff),color-stop(0.5, #eaeaea),to(#fff)); 
 text-align:left;
}

.features-table td
{
  height: 28px;
  line-height: 50px;
  padding: 0 20px;
  border-bottom: 1px solid #cdcdcd;
  box-shadow: 0 1px 0 white;
  -moz-box-shadow: 0 1px 0 white;
  -webkit-box-shadow: 0 1px 0 white;
  white-space: nowrap;
  text-align: center;
}

/*Body*/
.features-table tbody td
{
  text-align: right;
  font: normal 12px Verdana, Arial, Helvetica;
  }

.features-table tbody td:first-child
{
  text-align: right;
}

.features-table td:nth-child(2), .features-table td:nth-child(3)
{
  background: #efefef;
  background: rgba(144,144,144,0.15);
  border-right: 1px solid white;
}


.features-table td:nth-child(4)
{
  background: #e7f3d4;  
  background: rgba(184,243,85,0.3);
}

/*Header*/
.features-table thead td
{
  font: bold 1.3em 'trebuchet MS', 'Lucida Sans', Arial;  
  -moz-border-radius-topright: 10px;
  -moz-border-radius-topleft: 10px; 
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  border-top: 1px solid #eaeaea; 
}

.features-table thead td:first-child
{
  border-top: none;
}

/*Footer*/
.features-table tfoot td
{
  font: bold 1.4em Georgia;  
  -moz-border-radius-bottomright: 10px;
  -moz-border-radius-bottomleft: 10px; 
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  border-bottom: 1px solid #dadada;
}

.features-table tfoot td:first-child
{
  border-bottom: none;
}
.property_image
{
    width:100px;
    height:100px;
    float:left;
    margin:10px;
    border:2px solid #ccc;
}



#tabbed {
    width: 1000px;
    position: relative;
    float: left;
    text-align: right;
}




    </style> 

    <script language="javascript" type="text/javascript">
        function printDiv(divID) {
            //Get the HTML of div
            var divElements = document.getElementById(divID).innerHTML;
            //Get the HTML of whole page
            var oldPage = document.body.innerHTML;

            //Reset the page's HTML with div's HTML only
            document.body.innerHTML =
              "<html><body>" +
              divElements + "</body>";

            //Print Page
            window.print();

            //Restore orignal HTML
            document.body.innerHTML = oldPage;


        }
    </script>




  <style>
    #content 
    {
        	min-height:550px;
	background-color: #FFFFFF;
	background-image: url(../images/bg/contentbg.png);
	min-width: 82%;
	margin-right:221px;
	height:100%;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #CCC;
    }
    #leftcolumn {
	float: right;
	width: 220px;
	margin-left: -100%;
	min-height:550px;
	background-color: #FFF;
	background-image: url(../images/bg/sidebarbg.png);
	
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #CCC;
	height:100%;
	
}











@media (min-width: 321px) and (max-width: 1024px) {
	
#leftcolumn {
    float: right;
    width: 150px;
    margin-left: -100%;
    min-height: 550px;
    background-color: #FFF;
    background-image: url('../images/bg/sidebarbg.png');
    border-left: 1px solid #CCC;
    height: 100%;
}

#leftcolumn_top {
    float: left;
    width: 150px;
    height: 47px;
    background-image: url('../images/bg/titalbar.png');
    background-repeat: repeat-x;
    border-bottom: 1px solid #CCC;
}
	
#nav {
    float: left;
    width: 150px;
}	
	
.form_placeholder_std input[type="text"] {
    background-color: rgba(255, 255, 255, 0.6);
    border: 1px solid #B1B1B1;
    width: 70px;
    border-radius: 0.2em;
    padding: 2px;
    height: 15px;
}	
	
	.form_placeholder_std .combobox {
    background-color: rgba(255, 255, 255, 0.6);
    border: 1px solid #B1B1B1;
    width: 80px;
    border-radius: 0.2em;
    padding: 2px;
    margin-bottom: 0px;
    height: 25px;
}
	
	
	select {
    width: 80px;
    background-color: #FFF;
    border: 1px solid #CCC;
}


.form_placeholder_std table td {
    width: 60px;
 
}
	
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
    font-family: Verdana,Arial,sans-serif;
    font-size: 1em;
    width: 100px;
    height: 30px;
}	
	#content {
    min-height: 550px;
    background-color: #FFF;
    background-image: url('../images/bg/contentbg.png');
    min-width: 82%;
    margin-right: 15%;
    height: 100%;
    border-left: 1px solid #CCC;
}
	
#tabbed label.tabs {
    padding: 0px 15px;
}
	
#tabbed {
    position: relative;
    float: right;
    text-align: right;
    width: 100%;
}	
	
	
	
	
	
	
}
    </style>

     <script type="text/javascript">

         $(document).ready(function () {
             $("#txtpark").hide();
             $("#ddlparking").change(function () {

                 var x = $(this).val();
                 if (x == "Custom") {
                     $("#txtpark").show();
                 }
                 else {
                     $("#txtpark").hide();
                 }

             });
         });
</script>



</head>
<body>
<form id="form_std_register" class="form_control" runat="server">
<div id="wrapper">
<div id="header"><a href="#"> <img src="../images/logo/logo_feas.png" alt="Logo" style="margin-top:7px;margin-left:7px;float:left;"> <img src="../images/logo/logo_feas2.png" alt="Logo" class="logo"></a>
    <div id="metaphors" align="right">
   
      
      <li id="btntheme"><a href="#"><span class="theme_icon"></span>Theme<span class="arrow"></span></a></li>
      <img src="../images/face1.png" class="user_icon">
      <li id="btnUser"><a href="#">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:label ID="Label1" runat="server" ></asp:label><span class="arrow"></span></a></li>
      <li><span class="logout_icon"></span>
          <asp:LinkButton ID="LinkButton1" runat="server" onclick="LinkButton1_Click">Logout</asp:LinkButton></li>
      <div id="box3" class="outerbox">
        <div id="box_inner3" class="innerbox">
          <div class="user_option"><img src="../images/icons/user.png" class="opt_icon">email</div>
          <div class="user_option"><img src="../images/icons/pencil.png" class="opt_icon">email</div>
        </div>
      </div>
      <div id="box2" class="outerbox">
        <div id="box_inner3" class="innerbox">
          <div class="user_option"><img src="../images/icons/user.png" class="opt_icon">alert</div>
          <div class="user_option"><img src="../images/icons/pencil.png" class="opt_icon">alert</div>
        </div>
      </div>
      <div id="box1" class="outerbox">
        <div id="box_inner1" class="innerbox">
          <div class="user_option1">
            <h4 class="opt_heading">Menu Bar</h4>
            <span id="show_menu" class="style">on</span><span id="hide_menu" class="style2">off</span></div>
        </div>
      </div>
      <div id="box" class="outerbox">
        <div id="box_inner" class="innerbox">
          <div class="user_option"><img src="../images/icons/user.png" class="opt_icon">Edit Profile</div>
          <div class="user_option"><img src="../images/icons/pencil.png" class="opt_icon">Change Password</div>
        </div>
      </div>
    </div>
    <!--End of the metaphor tag--> 
    
  </div>
  <!--End of the Header tag-->
  <div id="contentliquid">
    <div id="content">
      <div id="titalbar"><input action="action" type="button" value="בחזרה" onclick="history.go(-1);" style="float:left; margin-left:20px; margin-top:10px; background:#093 " />
        <h1>מאפייני פרטים</h1>
          
          <div style="text-align:right;padding-top:5px; padding-right:50px;">   
      
             <%-- <asp:LinkButton ID="LinkButton2" runat="server" OnClientClick="javascript:window.open('print_for_rent.aspx?ruerystring', 'windowname', 'width=1400,height=800,scrollbars=yes');"><img src="../images/icons/1383015229_bubble_jet_printer.png"</asp:LinkButton>--%>
              </div>
      </div>





      <div id="content_placeholder">


      	<div id="demo">

		<!-- *************************** -->
		<!-- START COPYING FROM HERE     -->
		<!-- *************************** -->

		<section id="tabbed">
			<!-- First tab input and label -->
			<input id="t-1" name="tabbed-tabs" type="radio" checked="checked" />
			<label for="t-1" class="tabs shadow entypo-pencil">פרטי נכס</label>
            <!-- First tab input and label -->
			<input id="t-5" name="tabbed-tabs" type="radio" />
			<label for="t-5" class="tabs shadow entypo-pencil">פרטי הלקוח</label>
            <!-- First tab input and label -->
			<input id="t-6" name="tabbed-tabs" type="radio" />
			<label for="t-6" class="tabs shadow entypo-pencil">פרטי מגורים של הלקוח</label>
			<!-- Second tab input and label -->
			<input id="t-2" name="tabbed-tabs" type="radio" />
			<label for="t-2" class="tabs shadow entypo-paper-plane">תמונות</label>
			<!-- Third tab input and label -->
			<input id="t-3" name="tabbed-tabs" type="radio" />
			<label for="t-3" class="tabs shadow entypo-menu">משימות</label>
			<!-- Fourth tab input and label -->
			<input id="t-4" name="tabbed-tabs" type="radio" />
			<label for="t-4" class="tabs shadow entypo-star">קבצים</label>
			<!-- Fifth tab input and label -->
			
			<!-- Tabs wrapper -->
			<div class="wrapper shadow">

				<!-- Tab 1 content -->
				<div class="tab-1">
					<div class="row">
			
				<table  class ="features-table">
        
                 <tr>
                <td colspan="2"><h1>מידע פנימי</h1></td>
                 </tr>
 
                 <tr>
                <td>הצג באתר</td>
                <td>
                    <asp:Label ID="Label129" runat="server"></asp:Label>
                     </td>
                 </tr>
                
   
             
                 <tr>
                <td>סוג לקוח</td>
                <td>
                    <asp:Label ID="Label130" runat="server"></asp:Label>
                    <asp:Label ID="Label131" runat="server"></asp:Label>
                     </td>
                 </tr>
                
   
             
                 <tr>
                <td>סוכן</td>
                <td>
                    <asp:Label ID="Label132" runat="server"></asp:Label>
                     </td>
                 </tr>
                
   
             
                 <tr>
                <td colspan="2"><h1>פרטי נכס / מידע</h1></td>
                 </tr>
                 <tr>
                <td> סוג הנכס</td>
                <td> <asp:Label ID="lblptype" runat="server" ></asp:Label> 
                    <asp:Label ID="lblptype1" runat="server" ></asp:Label></td>
                 </tr>
                 <tr>
                <td>מצב הנכס</td>
                <td> <asp:Label ID="lblpcondi" runat="server" ></asp:Label> 
                <asp:Label ID="lblpcondi1" runat="server" ></asp:Label> 
                     </td>
                 </tr>
                 <tr>
                <td colspan="2"> <h1> מיקום ופרטי הנכס - להשכרה (מופיע במערכת בלבד)</h1></td>
                 </tr>
                 <tr>
                <td> רחוב</td>
                <td>  
                <asp:Label ID="lblstr" runat="server" ></asp:Label> 
                     </td>
                 </tr>
                 <tr>
                <td>מספר בית</td>
                <td>   
                <asp:Label ID="lblhs" runat="server" ></asp:Label> 
                     </td>
                 </tr>
                 <tr>
                <td>מספר דירה</td>
                <td>   
                <asp:Label ID="lblap" runat="server" ></asp:Label> 
                     </td>
                 </tr>
                 <tr>
                <td>שכונה</td>
                <td>   
                    <asp:Label ID="Label68" runat="server"></asp:Label>
                     </td>
                 </tr>
                 <tr>
                <td>עיר</td>
                <td>   
                    <asp:Label ID="Label72" runat="server"></asp:Label>
                     </td>
                 </tr>
                 <tr>
                <td>מדינה</td>
                <td>   
                    <asp:Label ID="Label69" runat="server"></asp:Label>
                     </td>
                 </tr>
                 <tr>
                <td>ארץ</td>
                <td>   
                    <asp:Label ID="Label74" runat="server" Visible="False"></asp:Label>
                    <asp:Label ID="Label73" runat="server"></asp:Label>
                     </td>
                 </tr>
                 <tr>
                <td colspan="2"><h1>מפרט הנכס</h1></td>
                 </tr>
                 <tr>
                <td>מספר חדרים</td>
                <td> 
                    <asp:Label ID="Label2" runat="server" ></asp:Label>
                     </td>
                 </tr>
                 <tr>
                <td>מספר קומה</td>
                <td> 
                    <asp:Label ID="Label3" runat="server" ></asp:Label>
                     </td>
                 </tr>
                 <tr>
                <td>סה"כ מספר קומות</td>
                <td> 
                    <asp:Label ID="Label4" runat="server" ></asp:Label>
                     </td>
                 </tr>
                 <tr>
                <td>מצב בניין</td>
                <td> 
                    <asp:Label ID="Label5" runat="server" ></asp:Label>
                    <asp:Label ID="Label8" runat="server" ></asp:Label>
                     </td>
                 </tr>
                 <tr>
                <td>גיל הבניין</td>
                <td> 
                    <asp:Label ID="Label6" runat="server" ></asp:Label>
                     </td>
                 </tr>
                 <tr>
                <td>מספר דיירים </td>
                <td> 
                    <asp:Label ID="Label7" runat="server" ></asp:Label>
                     </td>
                 </tr>
                 <tr>
                <td colspan="2"><h1>מידע נוסף</h1></td>
                 </tr>
                 <tr>
                <td> חניה</td>
                <td> 
                    <asp:Label ID="Label9" runat="server" ></asp:Label>
                    <asp:Label ID="Label10" runat="server" ></asp:Label>
                     </td>
                 </tr>
                 <tr>
                <td> רהיטים</td>
                <td> 
                    <asp:Label ID="Label11" runat="server" ></asp:Label>
                    <asp:Label ID="Label12" runat="server" ></asp:Label>
                     </td>
                 </tr>
                 <tr>
                <td> שירותים&nbsp; 1
                <br />שירותים&nbsp; 2
                 <br />שירותים&nbsp; 3
                  <br />שירותים&nbsp; 4
                   <br />שירותים&nbsp; 5</td>
                <td> 
                    <asp:Label ID="Label13" runat="server" ></asp:Label>
                    <asp:Label ID="Label14" runat="server" ></asp:Label><br />
                    <asp:Label ID="Label47" runat="server" ></asp:Label>
                    <asp:Label ID="Label48" runat="server" ></asp:Label>
                    <br />
                    <asp:Label ID="Label78" runat="server" ></asp:Label>
                    <asp:Label ID="Label79" runat="server" ></asp:Label>
                     <br />
                    <asp:Label ID="Label80" runat="server" ></asp:Label>
                    <asp:Label ID="Label81" runat="server" ></asp:Label>
                     <br />
                    <asp:Label ID="Label82" runat="server" ></asp:Label>
                    <asp:Label ID="Label83" runat="server" ></asp:Label>
                    <br />
                     </td>
                 </tr>
                 <tr>
                <td> &nbsp;</td>
                <td> 
                    &nbsp;</td>
                 </tr>
                 <tr>
                <td> מקלחות&nbsp; 1 
                <br />מקלחות&nbsp; 2 
                <br />מקלחות&nbsp; 3 
                <br />מקלחות&nbsp; 4 
                <br />מקלחות&nbsp; 5 </td>
                <td> 
                    <asp:Label ID="Label15" runat="server" ></asp:Label>
                    <asp:Label ID="lbl16" runat="server" ></asp:Label>
                    <br />
                    <asp:Label ID="Label84" runat="server" ></asp:Label>
                    <asp:Label ID="Label85" runat="server" ></asp:Label> <br />
                    <asp:Label ID="Label86" runat="server" ></asp:Label>
                    <asp:Label ID="Label87" runat="server" ></asp:Label> <br />
                    <asp:Label ID="Label88" runat="server" ></asp:Label>
                    <asp:Label ID="Label89" runat="server" ></asp:Label>
                    <br />
                    <asp:Label ID="bath5" runat="server" ></asp:Label>
                    <asp:Label ID="custbath5" runat="server" ></asp:Label>
                     </td>
                 </tr>
                 <tr>
                <td> &nbsp;</td>
                <td> 
                    &nbsp;</td>
                 </tr>
                 <tr>
                <td> מטבח</td>
                <td> 
                    <asp:Label ID="Label17" runat="server"></asp:Label>
                    <asp:Label ID="Label18" runat="server"></asp:Label>
                     </td>
                 </tr>
                 <tr>
                <td> גג</td>
                <td> 
                    <asp:Label ID="Label19" runat="server"></asp:Label>
                     </td>
                 </tr>
                 <tr>
                <td> נוף</td>
                <td> 
                    <asp:Label ID="Label20" runat="server"></asp:Label>
                    <asp:Label ID="Label21" runat="server"></asp:Label>
                     </td>
                 </tr>
                 <tr>
                <td>נוף חזיתי\עורפי</td>
                <td> 
                    <asp:Label ID="Label22" runat="server"></asp:Label>
                    <asp:Label ID="Label23" runat="server"></asp:Label>
                     </td>
                 </tr>
                 <tr>
                <td> גינה</td>
                <td> 
                    <asp:Label ID="Label24" runat="server"></asp:Label>
                    <asp:Label ID="Label25" runat="server"></asp:Label>
                     </td>
                 </tr>
                 <tr>
                <td>תאריך פינוי</td>
                <td> 
                    <asp:Label ID="Label26" runat="server"></asp:Label>
                    <asp:Label ID="Label27" runat="server"></asp:Label>
                     </td>
                 </tr>
                 <tr>
                <td> ארנונה</td>
                <td> 
                    
                    
                    <asp:Label ID="Label71" runat="server"></asp:Label>
                    <asp:Label ID="Label28" runat="server"></asp:Label>
                     <asp:Label ID="cur" runat="server"></asp:Label>
                     </td>
                 </tr>
                 <tr>
                <td> מרתף</td>
                <td> 
                    <asp:Label ID="Label29" runat="server"></asp:Label>
                    <asp:Label ID="Label30" runat="server"></asp:Label>
                     </td>
                 </tr>
                 <tr>
                <td>מחסן</td>
                <td> 
                    <asp:Label ID="Label31" runat="server"></asp:Label>
                    <asp:Label ID="Label32" runat="server"></asp:Label>
                     </td>
                 </tr>
                 <tr>
                <td> מזגן</td>
                <td> 
                    <asp:Label ID="Label33" runat="server"></asp:Label>
                    <asp:Label ID="Label34" runat="server"></asp:Label>
                     </td>
                 </tr>
                 <tr>
                <td> 
                מרפסות 1
                <br /> מרפסות 2
                <br /> מרפסות 3
                <br /> מרפסות 4
                <br /> מרפסות 5</td>
                <td> 
                    <asp:Label ID="Label35" runat="server"></asp:Label>
                    <asp:Label ID="Label36" runat="server"></asp:Label>
                    <asp:Label ID="Label37" runat="server"></asp:Label><asp:Label ID="Label75" runat="server" Visible="False"></asp:Label>
                     <asp:Label ID="Label135" runat="server"></asp:Label>
                     <br />

                    

                    <asp:Label ID="Label38" runat="server"></asp:Label>
                    <asp:Label ID="Label39" runat="server"></asp:Label>
                    <asp:Label ID="Label40" runat="server"></asp:Label>
                    <asp:Label ID="Label136" runat="server"  ></asp:Label><br />

                    <asp:Label ID="Label90" runat="server"></asp:Label>
                    <asp:Label ID="Label91" runat="server"></asp:Label>
                    <asp:Label ID="Label92" runat="server"></asp:Label>
                    <asp:Label ID="Label96" runat="server"></asp:Label><br />

                    <asp:Label ID="Label93" runat="server"></asp:Label>
                    <asp:Label ID="Label94" runat="server"></asp:Label>
                    <asp:Label ID="Label95" runat="server"></asp:Label>
                    <asp:Label ID="Label97" runat="server"></asp:Label>

                    <br />

                    <asp:Label ID="Label98" runat="server"></asp:Label>
                    <asp:Label ID="Label99" runat="server"></asp:Label>
                    <asp:Label ID="Label100" runat="server"></asp:Label>
                    <asp:Label ID="Label101" runat="server"></asp:Label>
                     </td>
                 </tr>
                 <tr>
                <td>מספר מרפסות</td>
                <td> 
                    <asp:Label ID="Label41" runat="server"></asp:Label>
                     </td>
                 </tr>
                 <tr>
                <td> דמי אחזקה</td>
                <td> 
                    
                     <asp:Label ID="Label70" runat="server"></asp:Label>&nbsp;
                     <asp:Label ID="Label42" runat="server"></asp:Label>
                     </td>
                 </tr>
                 <tr>
                <td> דוד / בוילר</td>
                <td> 
                    <asp:Label ID="Label43" runat="server"></asp:Label>
                    <asp:Label ID="Label44" runat="server"></asp:Label>
                     </td>
                 </tr>
                 <tr>
                <td>חיות מחמד</td>
                <td> 
                    <asp:Label ID="Label45" runat="server"></asp:Label>
                    <asp:Label ID="Label46" runat="server"></asp:Label>
                     </td>
                 </tr>
                 <tr>
                <td>שותפים</td>
                <td> 
                    <asp:Label ID="Label76" runat="server"></asp:Label>
                    <asp:Label ID="Label77" runat="server"></asp:Label>
                     </td>
                 </tr>
                 <tr>
                <td>תאריך כניסה</td>
                <td> 
                    <asp:Label ID="Label49" runat="server"></asp:Label>
                     </td>
                 </tr>
                 <tr>
                <td> <span>מעלית</span></td>
                <td> 
                    <asp:Label ID="Label50" runat="server"></asp:Label>
                    <asp:Label ID="Label51" runat="server"></asp:Label>
                     </td>
                 </tr>
                 <tr>
                <td colspan="2"> <h1>מחיר הנכס\מידע כללי</h1></td>
                 </tr>
                 <tr>
                <td>גודל הנכס</td>
                <td> 
                    <asp:Label ID="Label52" runat="server"></asp:Label>
                    <asp:Label ID="Label53" runat="server"></asp:Label>
                     <asp:Label ID="Label133" runat="server"></asp:Label>
                     </td>
                 </tr>
                 <tr>
                <td>הערכת שכירות </td>
                <td> 
                    <asp:Label ID="Label54" runat="server"></asp:Label>
                     </td>
                 </tr>
                 <tr>
                <td>שעות זמינות כדי לראות את הנכס</td>
                <td> 
                    <asp:Label ID="Label55" runat="server"></asp:Label>
                     </td>
                 </tr>
                 <tr>
                <td>ערבויות</td>
                <td> 
                    <asp:Label ID="Label56" runat="server"></asp:Label>
                    <asp:Label ID="Label57" runat="server"></asp:Label>
                     </td>
                 </tr>
                 <tr>
                <td> ערבים להסכם</td>
                <td> 
                    <asp:Label ID="Label58" runat="server"></asp:Label>
                    <asp:Label ID="Label59" runat="server"></asp:Label>
                     </td>
                 </tr>
                 <tr>
                <td> מעשנים</td>
                <td> 
                    <asp:Label ID="Label60" runat="server"></asp:Label>
                    <asp:Label ID="Label61" runat="server"></asp:Label>
                     </td>
                 </tr>
                 <tr>
                <td> מחיר</td>
                <td> 
                    <asp:Label ID="Label62" runat="server"></asp:Label>
                    <asp:Label ID="Label63" runat="server"></asp:Label>&nbsp;&nbsp;
                    <asp:Label ID="Label64" runat="server"></asp:Label>
                     </td>
                 </tr>
                 <tr>
                <td>מחיר קודם</td>
                <td> 
                    <asp:Label ID="Label65" runat="server"></asp:Label>
                    <asp:Label ID="Label66" runat="server"></asp:Label>
                     </td>
                 </tr>
                 <tr>
                <td>הפחתת מחיר</td>
                <td> 
                   %&nbsp; <asp:Label ID="Label134" runat="server"></asp:Label>
                     </td>
                 </tr>
                 <tr>
                <td> כיווני אוויר</td>
                <td> 
                    <asp:Label ID="Label102" runat="server" Visible="False"></asp:Label>
                    <asp:Label ID="Label103" runat="server" Visible="False"></asp:Label>
                    <asp:Label ID="Label104" runat="server" Visible="False"></asp:Label>
                    <asp:Label ID="Label105" runat="server" Visible="False"></asp:Label>
                    <br />

                     <asp:Label ID="Label106" runat="server"></asp:Label><br />
                    <asp:Label ID="Label107" runat="server"></asp:Label><br />
                    <asp:Label ID="Label108" runat="server"></asp:Label><br />
                    <asp:Label ID="Label109" runat="server"></asp:Label>
                    <br />
                    <br />
                     </td>
                 </tr>

                <tr>
                <td>תוספות</td>
                <td > 
                    <asp:Label ID="Label120" runat="server"></asp:Label><br />
                    <asp:Label ID="Label123" runat="server"></asp:Label><br />
                    <asp:Label ID="Label121" runat="server"></asp:Label><br />
                    <asp:Label ID="Label122" runat="server"></asp:Label><br />
                    <asp:Label ID="Label124" runat="server"></asp:Label><br />
                    <asp:Label ID="Label125" runat="server"></asp:Label><br />
                    <asp:Label ID="Label126" runat="server"></asp:Label><br />
                    <asp:Label ID="Label127" runat="server"></asp:Label><br />
                    <asp:Label ID="Label128" runat="server"></asp:Label><br /><br />
                </tr>

                <tr>
                <td>
                    <asp:Label ID="Label138" runat="server"></asp:Label>
                    </td>
                <td > 
                    <asp:Label ID="Label137" runat="server"></asp:Label>
                </tr>

                <tr>
                <td> 
                    <asp:Label ID="Lblpermises" runat="server" Visible="False"   ></asp:Label>
                    </td>
                <td> <asp:Label ID="lbltype" runat="server" Visible="False" ></asp:Label>        
                    <asp:Label ID="lblproptype" runat="server" Visible="False" ></asp:Label> 
                    <asp:Label ID="lblclient" runat="server" Visible="False" ></asp:Label></td>
                </tr>

                <tr>
                <td>הערות </td>
                <td > <% SqlConnection con = null;
        con = new SqlConnection(ConfigurationManager.ConnectionStrings["ConnStr"].ConnectionString);
        con.Open();

        SqlCommand hmd = new SqlCommand("SELECT * FROM properties_rent where p_id='" + Session["w_id"] + "'", con);
       
        SqlDataReader hr = hmd.ExecuteReader();
                        
                        
                       if(hr.Read())
                            
                        {
                            Response.Write("<div style='width: 500px; overflow: scroll;'>" + hr[118].ToString() + "</div>");
                            
                        } 
                        hr.Close();;
                        con.Close();
                        %></td>
                </tr>

                <tr>&nbsp;</td>
                </tr>
                <tr>
                <<%# Eval("fname") + " " + Eval("lname")%>
                </tr>
              </table>
					</div>
				</div>
				<!-- / Tab 1 content -->
                	<!-- Tab 5 content -->
				<div class="tab-5">
					<div class="row">
					
    <table   class ="features-table">

               <tr>
                <td colspan="2"> 
                    
                        <h1>פרטי הלקוח
                  </h1>
                  </td>
                </tr>
                
              <tr>
                <td> שם הלקוח</td>
                <td> <asp:Label ID="txtclient_fullname1" runat="server" ></asp:Label> &nbsp;
                    <asp:Label ID="txtclient_fullname2" runat="server" ></asp:Label></td>
                </tr>
                <tr>
                <td>דואר אלקטרוני</td>
                <td> <asp:Label ID="lblssn" runat="server" ></asp:Label></td>
        </tr>
                <tr>
                <td>מספר טלפון</td>
                <td> <asp:Label ID="lblphone" runat="server" ></asp:Label></td>
        </tr>
    </table>
					</div>
				</div>
				<!-- / Tab 5 content -->



                <!-- Tab 6 content -->
				<div class="tab-6">
					<div class="row">
					
      <table   class ="features-table">

         <tr>
                <td colspan="2"><h1>פרטי מגורים של הלקוח</h1></td>
        </tr>
                <tr>
                <td> רחוב</td>
                <td> <asp:Label ID="lblsteet" runat="server" ></asp:Label>&nbsp;&nbsp;&nbsp; <asp:Label ID="lblhouse" runat="server" ></asp:Label></td>
                 </tr>
                <tr>
                <td>שכונה</td>
                <td> <asp:Label ID="lblneigh" runat="server" ></asp:Label></td>
                 </tr>
                <tr>
                <td> עיר</td>
                <td> <asp:Label ID="lblcity" runat="server" ></asp:Label></td>
                 </tr>
                 <tr>
                <td> מדינה</td>
                <td> <asp:Label ID="lblcount" runat="server" ></asp:Label></td>
                 </tr>
                 <tr>
                <td>ארץ</td>
                <td> <asp:Label ID="lblzip" runat="server" ></asp:Label></td>
                 </tr>
                 <tr>
                <td>&nbsp;</td>
                <td>  <asp:Label ID="Label110" runat="server" Visible="False"></asp:Label>
                    <asp:Label ID="Label111" runat="server" Visible="False"></asp:Label>
                    <asp:Label ID="Label112" runat="server" Visible="False"></asp:Label>
                    <asp:Label ID="Label113" runat="server" Visible="False"></asp:Label>
                    <asp:Label ID="Label114" runat="server" Visible="False"></asp:Label><br />
                    <asp:Label ID="Label115" runat="server" Visible="False"></asp:Label>
                    <asp:Label ID="Label116" runat="server" Visible="False"></asp:Label>
                    <asp:Label ID="Label117" runat="server" Visible="False"></asp:Label>
                    <asp:Label ID="Label118" runat="server" Visible="False"></asp:Label>
                    <asp:Label ID="Label119" runat="server" Visible="False"></asp:Label>
                    </td></td>
                 </tr>
      </table>
					</div>
				</div>
				<!-- / Tab 6 content -->


				<!-- Tab 2 content -->
				<div class="tab-2">
					<div class="row">
						
						<div style="height:auto; margin-left:25px;">
               <asp:Repeater ID="FileRepeater" runat="server">
    <ItemTemplate>
    <a  class="example-image-link" href='<%#"http://global-assetsgroup.com/hw/upload/" + Session ["w_id"] +"/Image/" + Eval("Name") %>'  data-lightbox="example-set" > <asp:Image ID="Image2"   runat="server" ImageUrl='<%#"http://global-assetsgroup.com/hw/upload/" + Session ["w_id"] +"/image/" + Eval("Name") %>' class="example-image" /></a></ItemTemplate>
</asp:Repeater>
          </div>
					</div>
				</div>
				<!-- / Tab 2 content -->

				<!-- Tab 3 content -->
				<div class="tab-3">
					<div class="row">
						<asp:Label ID="Label67" runat="server" Text="Label" Visible="False"></asp:Label>
			  <asp:GridView ID="GridView2" runat="server" DataSourceID="SqlDataSource2" 
                    CssClass="mGrid" onrowcommand="GridView1_RowCommand" 
                    AutoGenerateColumns="False" AllowPaging="True" CellPadding="4" ForeColor="#333333" 
                            GridLines="None" onselectedindexchanged="GridView2_SelectedIndexChanged" >
                    <AlternatingRowStyle BackColor="White" />
                    <Columns>
                     
                      
                        <asp:BoundField DataField="p_id" HeaderText="מזהה נכס" 
                            SortExpression="p_id" />
                        <asp:BoundField DataField="t_id" HeaderText="t_id" SortExpression="t_id" Visible="false" />
                        <asp:BoundField DataField="deal_status" HeaderText=" סטטוס עסקה" 
                            SortExpression="deal_status" />
                        <asp:BoundField DataField="created" HeaderText="נוצר " 
                            SortExpression="created" />
                        <asp:BoundField DataField="update_" HeaderText="עידכון" 
                            SortExpression="update_" />
                       
                        <asp:BoundField DataField="cus_to_do" HeaderText="לעשות" 
                            SortExpression="cus_to_do" />
                        <asp:BoundField DataField="status_" HeaderText="סטטוס" 
                            SortExpression="status_" />
                        
                        <asp:BoundField DataField="to_do_msg" HeaderText="לעשות" 
                            SortExpression="to_do_msg" />
                      <asp:ButtonField ButtonType="Image" CommandName="view" HeaderText="להציג" 
                                ImageUrl="../images/icons/search.png" Text="Button" />
                                
                              
                    </Columns>
                    <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                    <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
                    <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
                    <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                    <SortedAscendingCellStyle BackColor="#FDF5AC" />
                    <SortedAscendingHeaderStyle BackColor="#4D0000" />
                    <SortedDescendingCellStyle BackColor="#FCF6C0" />
                    <SortedDescendingHeaderStyle BackColor="#820000" />
                </asp:GridView>
                <asp:SqlDataSource ID="SqlDataSource2" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:real_estateConnectionString %>" 
                    SelectCommand="SELECT * FROM [task] WHERE  ([p_id] = @p_id)">
                    <SelectParameters>
                        <asp:ControlParameter ControlID="Label67" Name="p_id" 
                            PropertyName="Text" Type="String" />
                        
                    </SelectParameters>
                </asp:SqlDataSource>
             
					</div>
				</div>
				<!-- / Tab 3 content -->

				<!-- Tab 4 content -->
				<div class="tab-4">
					<div class="row">
					
				<div>
<asp:GridView ID="gvDetails"  runat="server" AutoGenerateColumns="False" DataKeyNames="FilePath"  
                        CssClass="mGrid">
<HeaderStyle BackColor="#df5015" />
<Columns>
<asp:BoundField DataField="Id" HeaderText="מזהה נכס" />
<asp:BoundField DataField="FileName" HeaderText="שם קובץ" />
<asp:TemplateField HeaderText="להורדה">
<ItemTemplate>
<asp:LinkButton ID="lnkDownload" runat="server" Text="Download" OnClick="lnkDownload_Click" ImageUrl="../images/22.png"></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
</div>
					</div>
				</div>
				<!-- / Tab 4 content -->

		

				

			</div>
			<!-- / Tabs wrapper -->
		</section>

		<!-- *************************** -->
		<!-- END COPYING HERE            -->
		<!-- *************************** -->

	</div>


    

  <%# Eval("fname") + " " + Eval("lname")%>
   <div style="clear:both"></br></br>
      
 <div id="student_current_address" class="form_placeholder_std" style="margin-top:0;border-top:none;">
            <div id="student_title1" class="form_title"><img src="../images/icons/user.png">
              <h2 style="float:right;">Related Properties</h2>
             
              
            </div>
          <div style="height:auto;">
              <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                        DataSourceID="SqlDataSource1" CssClass="mGrid" onrowcommand="GridView1_RowCommand">
                        <Columns>
                      
                        
                        <asp:BoundField DataField="c_id" HeaderText="Property ID" 
                            SortExpression="c_id"  />
                        <asp:BoundField DataField="fname" HeaderText="Name" 
                            SortExpression="fname" Visible="false" />
                            <asp:TemplateField HeaderText="Name">
                    <ItemTemplate>
                       
                            <%# Eval("fname") + " " + Eval("lname")%>
                                         
                    </ItemTemplate>
                </asp:TemplateField>
                       <asp:BoundField DataField="phone" HeaderText="Phone" 
                            SortExpression="phone" />
                              <asp:BoundField DataField="email_id" HeaderText="Email" 
                            SortExpression="email_id" />
                              <asp:BoundField DataField="f_room" HeaderText="From Room" 
                            SortExpression="f_room" />
                              <asp:BoundField DataField="to_room1" HeaderText="To Room" 
                            SortExpression="to_room1" />
                               <asp:BoundField DataField="f_floor" HeaderText="Floor" 
                            SortExpression="f_floor" />
                               <asp:BoundField DataField="to_" HeaderText="To Floor" 
                            SortExpression="to_" />

                             <asp:TemplateField HeaderText="Property Size">
                    <ItemTemplate>
                       
                            <%# Eval("p_size_sign") + " " + Eval("p_size")%>
                                         
                    </ItemTemplate>
                </asp:TemplateField>
                              <asp:BoundField DataField="p_size" HeaderText="Property size " 
                            SortExpression="p_size" Visible="false" />
                            <asp:BoundField DataField="p_size_sign" HeaderText="Sign" 
                            SortExpression="p_size_sign" visible="false"/>
                             <asp:TemplateField HeaderText="Price">
                    <ItemTemplate>
                       
                            <%# Eval("budget") + " " + Eval("type_budget")%>
                                         
                    </ItemTemplate>
                </asp:TemplateField>
                        <asp:BoundField DataField="budget" HeaderText="Price" 
                            SortExpression="budget" Visible="false" />
                        <asp:BoundField DataField="property" HeaderText="Property Type" 
                            SortExpression="property" />
                        <asp:BoundField DataField="street" HeaderText="Street" 
                            SortExpression="street" />
                              <asp:BoundField DataField="c_type" HeaderText="Client Type" 
                            SortExpression="c_type" />
                        <asp:BoundField DataField="elevator" HeaderText="Elevator" 
                            SortExpression="elevator" />
                        <asp:BoundField DataField="parking" HeaderText="Parking" 
                            SortExpression="parking" />
                      
                           
                              <asp:BoundField DataField="ac" HeaderText="Ac" 
                            SortExpression="ac" />
                       
                            
                            <asp:BoundField DataField="agent_name" HeaderText="Agent name" 
                            SortExpression="agent_name" />
                        <asp:BoundField DataField="entering_date" HeaderText="Published" SortExpression="entering_date" />
                         <asp:BoundField DataField="city" HeaderText="City" SortExpression="city" />
                          <asp:BoundField DataField="prop_cond" HeaderText="Condition" SortExpression="prop_cond" />
                              <asp:TemplateField HeaderText="Comment">
                    <ItemTemplate>
                        
                            <%#  ((string)Eval("comments")).Length < 20 ? Eval("comments") : ((string)Eval("comments")).Substring(0, 20) + "..."%>
                                             
                    </ItemTemplate>
                               </asp:TemplateField>
                         
                            
                                 <asp:ButtonField ButtonType="Image" CommandName="view" HeaderText="View" 
                                ImageUrl="../images/icons/search.png" Text="Button" />
                    </Columns>
                    </asp:GridView>
        
              <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                  ConnectionString="<%$ ConnectionStrings:real_estateConnectionString %>" 
                  
                  SelectCommand="SELECT TOP (3) * FROM property_rent WHERE (city = @city) OR (type = @type) OR (c_type= @c_type)  OR (property = @property_type)">
                  <SelectParameters>
                      <asp:ControlParameter ControlID="lblcity" Name="city" PropertyName="Text" 
                          Type="String" DefaultValue="City" />
                      <asp:ControlParameter ControlID="lbltype" Name="type" PropertyName="Text" 
                          Type="String" DefaultValue="To Rent" />
                          <asp:ControlParameter ControlID="lblclient" Name="c_type" PropertyName="Text" 
                          Type="String" DefaultValue="" />
                     
                     
                      <asp:ControlParameter ControlID="lblproptype" Name="property_type" 
                          PropertyName="Text" Type="String" DefaultValue="Commercial" />
                  </SelectParameters>
              </asp:SqlDataSource>
              
          </div>
          </div>
             <div id="student_submit" class="form_placeholder_std" style="margin-top:0;border-top:none;border-bottom:none;">
            <div id="student_title4" class="form_title">
              <div style="margin-left:27px;margin-top:2px;">
                  
              </div>
            </div>
          </div>
           
		  </div>
          
		  
           
		   
             
        </div>
         
         </div>
         
       
         
      </div>
   
<script type="text/javascript" src="../js/jquery.js"></script>
<script type="text/javascript" src="../js/jquery-1.8.0.js"></script>
<script type="text/javascript" src="../js/jquery-1.8.0.min.js"></script>
<script src="../js/jquery.validationEngine-en.js" type="text/javascript"></script>
<script src="../js/jquery.validationEngine.js" type="text/javascript"></script>
<script type="text/javascript" src="../js/utility.js"></script>
<!--<script src="../js/jquery.min.js"></script>-->
<script src="../js/bootstrap-modal.js"></script>
<!--<script src="../js/jquery.min.js"></script>-->

 <div id="leftcolumn">
 <div id="leftcolumn_top">
      <div id="createform" class="modal hide fade in" style="display: none; ">
        <div class="modal-header"> <a class="close" data-dismiss="modal">x</a>
          <h1 style="font-size:15px;padding:7px;font-weight:bold;">Create Form</h1>
        </div>
        <div class="modal-body">
        <table id="tbl_task" class="model_popup_desgin">
  <tr>
    <td><p> You have a recent&nbsp;&nbsp&nbsp;&nbsp;update on date</p></td>
  </tr>
  <tr>
    <td></td>
  </tr>
</table>


          
        </div>
        
      </div>
       
      
 </div>

  <ul id="nav" style=" text-align:right">
      <li><a href="dashboard.aspx"><img src="../images/icons/home.png" class="menu_icon">לוח בקרה</a> </li>   
       <li><a href="#"><img src="../images/icons/form.png" class="menu_icon">להשכרה</a>
        <ul>
          <li><a href="report_property_for_rent.aspx"><img src="../images/icons/tabs.png" class="menu_icon"> נכס להשכרה</a></li> <li><a href="search_property_torent.aspx"><img src="../images/icons/tabs.png" class="menu_icon"> לקוח רוצה לשכור</a></li>
        </ul></li>
        <li><a href="search_buy_property.aspx"><img src="../images/icons/form.png" class="menu_icon">לקוח רוצה לקנות</a>
       </li>
     
         <li><a href="searh_sell_property.aspx"><img src="../images/icons/form.png" class="menu_icon">נכס למכירה</a>
  
          <li><a href="#"><img src="../images/icons/std2.png" class="menu_icon"> סוכן</a>
        <ul>
          <li><a href="add_agent.aspx"><img src="../images/icons/plus.png" class="menu_icon">Agent add</a></li>
         
          <li><a href="deleteagent.aspx"> <img src="../images/icons/trash.png" class="menu_icon">Delete Agent</a></li>
          <li><a href="agentreport.aspx"><img src="../images/icons/pages.png" class="menu_icon">Agent Edit/Reports</a></li>
        </ul>
      </li>
  
      <li><a href="admin_notes.aspx"><img src="../images/icons/search.png" class="menu_icon">משימות</a>
    
      </li>
       <li><a href="#"><img src="../images/icons/id.png" class="menu_icon">פרטי חשבון</a>
        <ul>
          <li><a href="admin_account_information.aspx"><img src="../images/icons/id.png" class="menu_icon">Update Account Details</a></li>
         
          
        </ul>
      </li>
       <li><a href="messages1.aspx"><img src="../images/icons/id.png" class="menu_icon">הודעות</a>
        
      </li>
    </ul>
    
  
  <br />
 <br />
  <br />
   <br />
    <br />
     <br />
      <br />
       <br />
        <br />
   <br />

   
   
  </div>
</div>
 <script language="javascript">
     function ValidateFile(source, args) {
         try {
             var fileAndPath =
           document.getElementById(source.controltovalidate).value;
             var lastPathDelimiter = fileAndPath.lastIndexOf("\\");
             var fileNameOnly = fileAndPath.substring(lastPathDelimiter + 1);
             var file_extDelimiter = fileNameOnly.lastIndexOf(".");
             var file_ext = fileNameOnly.substring(file_extDelimiter + 1).toLowerCase();
             if (file_ext != "jpg") {
                 args.IsValid = false;
                 if (file_ext != "gif")
                     args.IsValid = false;
                 if (file_ext != "png") {
                     args.IsValid = false;
                     return;
                 }
             }
         } catch (err) {
             txt = "There was an error on this page.\n\n";
             txt += "Error description: " + err.description + "\n\n";
             txt += "Click OK to continue.\n\n";
             txt += document.getElementById(source.controltovalidate).value;
             alert(txt);
         }

         args.IsValid = true;
     }
    </script>
     	<script src="js/jquery-1.11.0.min.js"></script>
	<script src="js/lightbox.js"></script>
</form>
</body>
</html>